package tech.threekilogram.notificationtest;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

/**
 * @author liujin
 */
public class TestReceiver extends BroadcastReceiver {

      private static final String TAG = TestReceiver.class.getSimpleName();

      @Override
      public void onReceive ( Context context, Intent intent ) {

            String extra = intent.getStringExtra( "extra" );
            Log.e(
                TAG,
                "onReceive : " + Thread.currentThread() + " " + System.currentTimeMillis() + " "
                    + extra
            );
      }
}
